package install.ren.exercise.test;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.EnableLoadTimeWeaving;

/**
 * @author jonny
 * Created on 2021/8/29
 */
@Configuration
@EnableLoadTimeWeaving(aspectjWeaving= EnableLoadTimeWeaving.AspectJWeaving.AUTODETECT)
@EnableAspectJAutoProxy
@ComponentScan(basePackages = "install.ren.exercise.test.aop")
public class AopConfig {

    //@Bean
    //public LoadTimeWeaver loaderTimeWeaver(){
    //    return new ExtInstrumentationLoadTimeWeaver();
    //}
}
